-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Stack][material] Use createStack from the system #33795
[Stack][material] Use createStack from the system #33795
Conversation
Netlify deploy previewhttps://deploy-preview-33795--material-ui.netlify.app/ @material-ui/core: parsed: +0.09% , gzip: +0.11% Bundle size report |
@@ -1,6 +1,7 @@ | |||
{ | |||
"props": { | |||
"children": { "type": { "name": "node" } }, | |||
"component": { "type": { "name": "elementType" } }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops this was missing in the prop types
@@ -6,7 +6,6 @@ import { Theme } from '../styles/createTheme'; | |||
export interface StackTypeMap<P = {}, D extends React.ElementType = 'div'> { | |||
props: P & | |||
SystemProps<Theme> & { | |||
ref?: React.Ref<unknown>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Redundant, not sure why we had it here.
@mnajdova I updated the material-ui-eslint to support the component factory. please check the latest commits. |
@siriwatknp it's been a long time on this PR :D I've updated to latest master, should we merge it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 one nit.
Co-authored-by: Siriwat K <[email protected]> Signed-off-by: Marija Najdova <[email protected]>
Preview: https://deploy-preview-33795--material-ui.netlify.app/material-ui/react-stack/